package TrueTopic;

import java.util.Arrays;
import java.util.Scanner;

public class TestC {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        while (n-- > 0) {
            int x = sc.nextInt();
            int[] arr = new int[x];
            for (int i = 0; i < x; i++) {
                arr[i] = sc.nextInt();
            }
            Arrays.sort(arr);
        }

    }

    public static void ts() {

    }
}
